﻿using Microsoft.Extensions.DependencyInjection;

namespace Fast.Extensions.Caching.Tests
{
    public class FastCachingTestStartup : IFastStartup
    {
        public void ConfigureServices(ConfigureServicesContext context)
        {
            context.Services.AddFastDistributedCache();
            context.Services.AddStackExchangeRedisCache(options =>
            {
                options.Configuration = "127.0.0.1:6379,password=admin";
                options.InstanceName = "InstanceName:";
            });
        }

        public void Configure(ConfigureContext context)
        {

        }
    }
}
